﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D0F RID: 3343
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerHeartBeatCsReq : IMessage<PlayerHeartBeatCsReq>, IMessage, IEquatable<PlayerHeartBeatCsReq>, IDeepCloneable<PlayerHeartBeatCsReq>, IBufferMessage
	{
		// Token: 0x17002A37 RID: 10807
		// (get) Token: 0x0600959F RID: 38303 RVA: 0x0018E563 File Offset: 0x0018C763
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerHeartBeatCsReq> Parser
		{
			get
			{
				return PlayerHeartBeatCsReq._parser;
			}
		}

		// Token: 0x17002A38 RID: 10808
		// (get) Token: 0x060095A0 RID: 38304 RVA: 0x0018E56A File Offset: 0x0018C76A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerHeartBeatCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A39 RID: 10809
		// (get) Token: 0x060095A1 RID: 38305 RVA: 0x0018E57C File Offset: 0x0018C77C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerHeartBeatCsReq.Descriptor;
			}
		}

		// Token: 0x060095A2 RID: 38306 RVA: 0x0018E583 File Offset: 0x0018C783
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerHeartBeatCsReq()
		{
		}

		// Token: 0x060095A3 RID: 38307 RVA: 0x0018E58C File Offset: 0x0018C78C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerHeartBeatCsReq(PlayerHeartBeatCsReq other) : this()
		{
			this.clientTimeMs_ = other.clientTimeMs_;
			this.uploadData_ = ((other.uploadData_ != null) ? other.uploadData_.Clone() : null);
			this.iIHMOHBIHKL_ = other.iIHMOHBIHKL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060095A4 RID: 38308 RVA: 0x0018E5E4 File Offset: 0x0018C7E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerHeartBeatCsReq Clone()
		{
			return new PlayerHeartBeatCsReq(this);
		}

		// Token: 0x17002A3A RID: 10810
		// (get) Token: 0x060095A5 RID: 38309 RVA: 0x0018E5EC File Offset: 0x0018C7EC
		// (set) Token: 0x060095A6 RID: 38310 RVA: 0x0018E5F4 File Offset: 0x0018C7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ClientTimeMs
		{
			get
			{
				return this.clientTimeMs_;
			}
			set
			{
				this.clientTimeMs_ = value;
			}
		}

		// Token: 0x17002A3B RID: 10811
		// (get) Token: 0x060095A7 RID: 38311 RVA: 0x0018E5FD File Offset: 0x0018C7FD
		// (set) Token: 0x060095A8 RID: 38312 RVA: 0x0018E605 File Offset: 0x0018C805
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientUploadData UploadData
		{
			get
			{
				return this.uploadData_;
			}
			set
			{
				this.uploadData_ = value;
			}
		}

		// Token: 0x17002A3C RID: 10812
		// (get) Token: 0x060095A9 RID: 38313 RVA: 0x0018E60E File Offset: 0x0018C80E
		// (set) Token: 0x060095AA RID: 38314 RVA: 0x0018E616 File Offset: 0x0018C816
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IIHMOHBIHKL
		{
			get
			{
				return this.iIHMOHBIHKL_;
			}
			set
			{
				this.iIHMOHBIHKL_ = value;
			}
		}

		// Token: 0x060095AB RID: 38315 RVA: 0x0018E61F File Offset: 0x0018C81F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerHeartBeatCsReq);
		}

		// Token: 0x060095AC RID: 38316 RVA: 0x0018E630 File Offset: 0x0018C830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerHeartBeatCsReq other)
		{
			return other != null && (other == this || (this.ClientTimeMs == other.ClientTimeMs && object.Equals(this.UploadData, other.UploadData) && this.IIHMOHBIHKL == other.IIHMOHBIHKL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060095AD RID: 38317 RVA: 0x0018E690 File Offset: 0x0018C890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ClientTimeMs != 0UL)
			{
				num ^= this.ClientTimeMs.GetHashCode();
			}
			if (this.uploadData_ != null)
			{
				num ^= this.UploadData.GetHashCode();
			}
			if (this.IIHMOHBIHKL != 0U)
			{
				num ^= this.IIHMOHBIHKL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060095AE RID: 38318 RVA: 0x0018E6FE File Offset: 0x0018C8FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060095AF RID: 38319 RVA: 0x0018E706 File Offset: 0x0018C906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060095B0 RID: 38320 RVA: 0x0018E710 File Offset: 0x0018C910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IIHMOHBIHKL != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.IIHMOHBIHKL);
			}
			if (this.uploadData_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.UploadData);
			}
			if (this.ClientTimeMs != 0UL)
			{
				output.WriteRawTag(120);
				output.WriteUInt64(this.ClientTimeMs);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060095B1 RID: 38321 RVA: 0x0018E788 File Offset: 0x0018C988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ClientTimeMs != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ClientTimeMs);
			}
			if (this.uploadData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.UploadData);
			}
			if (this.IIHMOHBIHKL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IIHMOHBIHKL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060095B2 RID: 38322 RVA: 0x0018E7F8 File Offset: 0x0018C9F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerHeartBeatCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ClientTimeMs != 0UL)
			{
				this.ClientTimeMs = other.ClientTimeMs;
			}
			if (other.uploadData_ != null)
			{
				if (this.uploadData_ == null)
				{
					this.UploadData = new ClientUploadData();
				}
				this.UploadData.MergeFrom(other.UploadData);
			}
			if (other.IIHMOHBIHKL != 0U)
			{
				this.IIHMOHBIHKL = other.IIHMOHBIHKL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060095B3 RID: 38323 RVA: 0x0018E874 File Offset: 0x0018CA74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060095B4 RID: 38324 RVA: 0x0018E880 File Offset: 0x0018CA80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 106U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.ClientTimeMs = input.ReadUInt64();
						}
					}
					else
					{
						if (this.uploadData_ == null)
						{
							this.UploadData = new ClientUploadData();
						}
						input.ReadMessage(this.UploadData);
					}
				}
				else
				{
					this.IIHMOHBIHKL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400394F RID: 14671
		private static readonly MessageParser<PlayerHeartBeatCsReq> _parser = new MessageParser<PlayerHeartBeatCsReq>(() => new PlayerHeartBeatCsReq());

		// Token: 0x04003950 RID: 14672
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003951 RID: 14673
		public const int ClientTimeMsFieldNumber = 15;

		// Token: 0x04003952 RID: 14674
		private ulong clientTimeMs_;

		// Token: 0x04003953 RID: 14675
		public const int UploadDataFieldNumber = 13;

		// Token: 0x04003954 RID: 14676
		private ClientUploadData uploadData_;

		// Token: 0x04003955 RID: 14677
		public const int IIHMOHBIHKLFieldNumber = 11;

		// Token: 0x04003956 RID: 14678
		private uint iIHMOHBIHKL_;
	}
}
